/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package lab6.Home;

/**
 *
 * @author THIEN
 */
/**
 *how to create a list
 */
import java.util.*;
public class ListArrayList {
    public static void main(String Args[])
    {
        ArrayList list = new ArrayList();
        list.add("My");
        list.add("Birthday");
        list.add(4.7);
        list.add(2,"is");//2 la vi tri(index) cua string can add
        System.out.println(list);
    }

}
